<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'three.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
    <% request.setCharacterEncoding("utf-8"); %>
    <% String name=request.getParameter("username");
    out.print(name);%>
    <br>
    <% String look=request.getParameter("unlook"); 
    out.print(look);%>
    <br>
    <% String pass=request.getParameter("psw"); 
    out.print(pass);%>
    <br>
    <% String sex=request.getParameter("sex"); 
    out.print(sex);%>
    <br>
    <% String city=request.getParameter("home"); 
    out.print(city);%>
    <br>
    <% String[] like =request.getParameterValues("like");
    if(like==null)
    {
    out.print("空值");
    } 
    else{
      for (String s : like) {
        out.print(s);
      }
    }
    %> 
    <br>
     <% String[] favs =request.getParameterValues("favs");
    if(favs==null)
    {
    out.print("空值");
    } 
    else{
      for (String fav : favs) {
        out.print(fav);
      }
    }
    %> 
    <br>
    <% String text=request.getParameter("info"); 
//    text=new String(text.getBytes("ISO-8859-1"),"utf-8") ;
    out.print(text);%>
  </body>
</html>
